<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
<meta name="format-detection" content="telephone=no" />
<title>{{ title }}</title>
<meta name="baidu-site-verification" content="lThtsD65s9" />
<meta name="keywords" content="聚合教育,少儿英语 ,少儿英语培训,少儿学英语,教育公司,教育网站,出过留学,教育平台,在线教育,网络教育,教育培训,幼儿英语,幼儿英语培训,幼儿学英语,儿童英语,全外教英语,美国幼儿园,美国小学,宝宝学英语, " />
<meta name="description" content="聚合教育,汇聚国内最优秀教育平台，教育公司"/>
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/css.css">
</head>
<body> 
<header>
	<div class="container"><div class="logo"><a href="http://www.readedu.cn"><img src="/images/logo.png" alt="聚合教育" title="聚合教育"><h1>聚合教育</h1></a></div></div>
</header>
<div class="container" id="container">
	
</div>
<footer class="footer"> 
    <div class="container">
        <p class="copyright">Copyright by CCSI ©2006-2020 http://www.94iyouxi.com. All Rights Reserved. </p>
        <p class="icp"><a  href="http://beian.miit.gov.cn" target="_blank">京ICP备18033873号-1</a></p>
        <p>北京春羽网络文化有限公司  版权所有</p>
    </div>
</footer>
</body>
<script src="/js/jquery/jquery-2.2.3.min.js"></script>
<script src="/js/bootstrap.min.js"></script>	
<script>
var data={};
	$.ajax({
		type:'get',
		url:window.location.protocol + '//api.readedu.cn/website?is_full=1',
		dataType:'json',
		success:function(data){
			console.log(data)
			data=data;
			var list=data.data;
			for(var i=0;i<list.length;i++){
				var html='<div class="classify"><span>'+  list[i].nav_name +'</span></div>';
				var sub=list[i].child_list;
				if(sub.length==0){
					continue;
				}
				html+='<div class="row list"><span class="filter"></span>'
				for(var j=0;j<sub.length;j++){
					var style=j>16?'display:none':'';

					html+=
					 '<div class="col-md-2" style="' + style + '">'
					 + '<a target="_blank" href="'+ sub[j].outer_link +'">'
					 + '<p class="img_wrap"><img src="'+sub[j].img_url+'"></p>'
				     + '<p>' + sub[j].nav_name + '</p>'
					 + '</a></div>'
				}
				if(sub.length>16){
					html+='<div class="col-md-2 more">' + '<p>' + '更多 >>' + '</p>' + '</div>'
				}
				html+='</div>';

				$(html).appendTo($("#container"));
			}
		}
	})
$(document).on('click','.more',function(){
	var $p=$(this).find('p');
	var $div=$(this).parents('.list').find('div');
	if($p.text()=='更多 >>'){
		$div.show(300);
		$p.text('收起');
	}else{
		$div.each(function(i,e){
			if(i==$div.length-1){
				return false;
			}
			if(i>16){
				$(this).hide(300);
			}
			
		})
		$p.text('更多 >>');
	}
})	
</script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?29a195bf229f9f15b63c0a77a321c505";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
</html>